// samsting : this file is auto create.

#include "Sts/2015-04-01/AssumeRoleResponse.h"

namespace aliyun { namespace Sts {

AssumeRoleResponse::AssumeRoleResponse() {
}

const string& AssumeRoleResponse::Credentials::GetSecurityToken(void) const {
  return SecurityToken_;
}

const string& AssumeRoleResponse::Credentials::GetAccessKeySecret(void) const {
  return AccessKeySecret_;
}

const string& AssumeRoleResponse::Credentials::GetAccessKeyId(void) const {
  return AccessKeyId_;
}

const string& AssumeRoleResponse::Credentials::GetExpiration(void) const {
  return Expiration_;
}

const string& AssumeRoleResponse::AssumedRoleUser::GetArn(void) const {
  return Arn_;
}

const string& AssumeRoleResponse::AssumedRoleUser::GetAssumedRoleId(void) const {
  return AssumedRoleId_;
}

const AssumeRoleResponse::Credentials& AssumeRoleResponse::GetCredentials(void) const {
  return Credentials_;
}

const AssumeRoleResponse::AssumedRoleUser& AssumeRoleResponse::GetAssumedRoleUser(void) const {
  return AssumedRoleUser_;
}

const char* AssumeRoleResponse::BaseKey(void) {
  return "AssumeRoleResponse";
}

void AssumeRoleResponse::UnmarshallerMap(std::map<string, string>& response_map) {
    UnmarshallerString(Credentials_.SecurityToken_, response_map, "AssumeRoleResponse.Credentials.SecurityToken");
    UnmarshallerString(Credentials_.AccessKeySecret_, response_map, "AssumeRoleResponse.Credentials.AccessKeySecret");
    UnmarshallerString(Credentials_.AccessKeyId_, response_map, "AssumeRoleResponse.Credentials.AccessKeyId");
    UnmarshallerString(Credentials_.Expiration_, response_map, "AssumeRoleResponse.Credentials.Expiration");
    UnmarshallerString(AssumedRoleUser_.Arn_, response_map, "AssumeRoleResponse.AssumedRoleUser.Arn");
    UnmarshallerString(AssumedRoleUser_.AssumedRoleId_, response_map, "AssumeRoleResponse.AssumedRoleUser.AssumedRoleId");
}


} } // namespace aliyun { namespace Sts {

// end of file 
